package com.ce.yw.leaveflow.dao.po;


import java.io.Serializable;
import java.util.Map;

import javax.persistence.Transient;

import org.activiti.engine.history.HistoricProcessInstance;
import org.activiti.engine.repository.ProcessDefinition;
import org.activiti.engine.runtime.ProcessInstance;
import org.activiti.engine.task.Task;
import org.apache.struts2.json.annotations.JSON;
import com.ce.framework.datamaintain.dao.po.AbstractPO;
/**
* 嫦娥软件有限公司 版权所有 2013
* 创建人：　张波
* 创建日期：2014-01-27
* 创建时间：14:17:44
* 功能描述：请假 [OA_LEAVE]表的映射类
* ==============================================
* 修改历史
* 修改人		修改时间		修改原因
*
* ==============================================
*/
public class OaLeave extends AbstractPO implements Serializable
{
	
	    private static final long serialVersionUID = 1L;
		/* variable ID [ID] */
		private java.lang.String vcId;

		/* variable 流程id [PROCESS_INSTANCE_ID] */
		private java.lang.String processInstanceId;

		/* variable 用户id [USER_ID] */
		private java.lang.String userId;

		/* variable 开始时间 [START_TIME] */
		private java.util.Date startTime;

		/* variable 结束时间 [END_TIME] */
		private java.util.Date endTime;

		/* variable 假种 [LEAVE_TYPE] */
		private java.lang.String leaveType;

		/* variable 请假事由 [REASON] */
		private java.lang.String reason;

		/* variable 申请时间 [APPLY_TIME] */
		private java.util.Date applyTime;

		/* variable 实际开始时间 [REALITY_START_TIME] */
		private java.util.Date realityStartTime;

		/* variable 实际结束时间 [REALITY_END_TIME] */
		private java.util.Date realityEndTime;
		
		private int status;
		
		private String statusInfo;
		
		private String orgId;

		/* variable 删除标记 [VC_DEL$FLAG] */
		private int vcDelFlag;
		

	   

	
	
		/******key******/

		/**
		* getter ID [ID]
		* @return java.lang.String
		*/
		public java.lang.String getVcId()
		{
			return this.vcId;
		}

		/**
		* getter 流程id [PROCESS_INSTANCE_ID]
		* @return java.lang.String
		*/
		public java.lang.String getProcessInstanceId()
		{
			return this.processInstanceId;
		}

		/**
		* getter 用户id [USER_ID]
		* @return java.lang.String
		*/
		public java.lang.String getUserId()
		{
			return this.userId;
		}

		/**
		* getter 开始时间 [START_TIME]
		* @return java.util.Date
		*/
		@JSON(format="yyyy-MM-dd HH:mm")
		public java.util.Date getStartTime()
		{
			return this.startTime;
		}

		/**
		* getter 结束时间 [END_TIME]
		* @return java.util.Date
		*/
		@JSON(format="yyyy-MM-dd HH:mm")
		public java.util.Date getEndTime()
		{
			return this.endTime;
		}

		/**
		* getter 假种 [LEAVE_TYPE]
		* @return java.lang.String
		*/
		public java.lang.String getLeaveType()
		{
			return this.leaveType;
		}

		/**
		* getter 请假事由 [REASON]
		* @return java.lang.String
		*/
		public java.lang.String getReason()
		{
			return this.reason;
		}

		/**
		* getter 申请时间 [APPLY_TIME]
		* @return java.util.Date
		*/
		@JSON(format="yyyy-MM-dd HH:mm")
		public java.util.Date getApplyTime()
		{
			return this.applyTime;
		}

		/**
		* getter 实际开始时间 [REALITY_START_TIME]
		* @return java.util.Date
		*/
		@JSON(format="yyyy-MM-dd HH:mm")
		public java.util.Date getRealityStartTime()
		{
			return this.realityStartTime;
		}

		/**
		* getter 实际结束时间 [REALITY_END_TIME]
		* @return java.util.Date
		*/
		@JSON(format="yyyy-MM-dd HH:mm")
		public java.util.Date getRealityEndTime()
		{
			return this.realityEndTime;
		}

		/**
		* getter 删除标记 [VC_DEL$FLAG]
		* @return int
		*/
		public int getVcDelFlag()
		{
			return this.vcDelFlag;
		}


	
		/******key******/

		/**
		* setter ID [ID]
		* @param java.lang.String varId
		*/
		public void setVcId(java.lang.String vcId)
		{
			 this.vcId=vcId;
		}

		/**
		* setter 流程id [PROCESS_INSTANCE_ID]
		* @param java.lang.String processInstanceId
		*/
		public void setProcessInstanceId(java.lang.String processInstanceId)
		{
			 this.processInstanceId=processInstanceId;
		}

		/**
		* setter 用户id [USER_ID]
		* @param java.lang.String userId
		*/
		public void setUserId(java.lang.String userId)
		{
			 this.userId=userId;
		}

		/**
		* setter 开始时间 [START_TIME]
		* @param java.util.Date startTime
		*/
		public void setStartTime(java.util.Date startTime)
		{
			 this.startTime=startTime;
		}

		/**
		* setter 结束时间 [END_TIME]
		* @param java.util.Date endTime
		*/
		public void setEndTime(java.util.Date endTime)
		{
			 this.endTime=endTime;
		}

		/**
		* setter 假种 [LEAVE_TYPE]
		* @param java.lang.String leaveType
		*/
		public void setLeaveType(java.lang.String leaveType)
		{
			 this.leaveType=leaveType;
		}

		/**
		* setter 请假事由 [REASON]
		* @param java.lang.String reason
		*/
		public void setReason(java.lang.String reason)
		{
			 this.reason=reason;
		}

		/**
		* setter 申请时间 [APPLY_TIME]
		* @param java.util.Date applyTime
		*/
		public void setApplyTime(java.util.Date applyTime)
		{
			 this.applyTime=applyTime;
		}

		/**
		* setter 实际开始时间 [REALITY_START_TIME]
		* @param java.util.Date realityStartTime
		*/
		public void setRealityStartTime(java.util.Date realityStartTime)
		{
			 this.realityStartTime=realityStartTime;
		}

		/**
		* setter 实际结束时间 [REALITY_END_TIME]
		* @param java.util.Date realityEndTime
		*/
		public void setRealityEndTime(java.util.Date realityEndTime)
		{
			 this.realityEndTime=realityEndTime;
		}
		
		

		public int getStatus() {
			return status;
		}

		public void setStatus(int status) {
			this.status = status;
		}

		public String getStatusInfo() {
			return statusInfo;
		}

		public void setStatusInfo(String statusInfo) {
			this.statusInfo = statusInfo;
		}

		public String getOrgId() {
			return orgId;
		}

		public void setOrgId(String orgId) {
			this.orgId = orgId;
		}

		/**
		* setter 删除标记 [VC_DEL$FLAG]
		* @param int vcDelFlag
		*/
		public void setVcDelFlag(int vcDelFlag)
		{
			 this.vcDelFlag=vcDelFlag;
		}

	
    /**
     * 无参数构造函数
     */
    public OaLeave(){
    }
  
    
    
}


